package com.csii.modules.system.mapper;

import java.util.List;

import com.csii.modules.system.model.AnnouncementSendModel;
import org.apache.ibatis.annotations.Param;
import com.csii.modules.system.entity.SysAnnouncement;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

/**
 * @Description: 系统通告表
 * @Author: power-stdio
 * @Date:  2019-01-02
 * @Version: V1.0
 */
public interface SysAnnouncementMapper extends BaseMapper<SysAnnouncement> {

	List<AnnouncementSendModel> querySysCementListByUserId(Page<AnnouncementSendModel> page, @Param("userId") String userId, @Param("callMe") Boolean callMe, @Param("readFlag") String readFlag);
	/**
	 * @功能：获取我的消息
	 * @param announcementSendModel
	 * @param page
	 * @return
	 */
	List<AnnouncementSendModel> getMyAnnouncementSendList(Page<AnnouncementSendModel> page, @Param("announcementSendModel") AnnouncementSendModel announcementSendModel);
}
